import URL from '@/config/url'
import utils from '@/utils/utils'


// 团队管理
export const GetTeamList = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/listUser', data}); //团队成员
export const FreezeStaff = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/freeze', data}); //冻结&解冻成员
export const DeleteStaff = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/delUser', data}); //删除成员
export const GetAuditList = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/auditList', data}); //待审核列表
export const AuditAgree = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/audit', data}); //审核操作
export const GetQrCode = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/qrcode', data}); // 超级管家邀请成员的二维码
export const ApplySteward = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/apply', data}); // 申请加入团队
export const StewardInfo = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/miniInfo', data}); //超级管家信息
// 设置精英管家分佣比例
export const SetRate = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/setRate', data}); 

// 绑定客户列表
export const BindCustomerList = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/consumerList', data});

// 我的账号
export const GetSuperAccount = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/info', data}); //我的账号

// 钱包管理
export const GetWalletData = data => utils.uniRequest({url:URL.BASE2 + '/steward/Wallet/getDetail', data}); //管家首页钱包数据详情

// 客户管理
export const GetTeamCustomer = data => utils.uniRequest({url:URL.BASE2 + '/qywx/Index/getStewardCustomerList', data}); //团队客户列表

// 资讯推荐列表
export const GetInformation = data => utils.uniRequest({url:URL.BASE2 + '/base/Information/getRecommendList', data});

// 超级精英查询当前状态
export const GetStewardStatus = data => utils.uniRequest({url:URL.BASE2 + '/steward/user/checkStatus', data});

// 团队收益列表
export const GetTeamProfit = data => utils.uniRequest({url:URL.BASE2 + '/steward/Wallet/getTeamCommissionList', data});

// 个人收益列表
export const GetPersonProfit = data => utils.uniRequest({url:URL.BASE2 + '/steward/Wallet/getPersonCommissionList', data});
